import http from '@/utils/request'
const URL = '/breed/dovecoteOutBill';

export function getChartsByType(data) {
  return http({
    url: `${URL}/getSumOfTypeAndMonthByBaseId?baseId=${data.baseId}`,
    method: 'get',
  })
}

//月结
export function PMonth(data) {
  return http({
      url: `/breed/shipmentOutBill/getMonthly`,
      method: 'get',
      data
  })
}